package com.filldream.fastboot.base.request.pc.role;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@ApiModel("PC-添加角色STO")
@Data
public class AddRoleSTO {

    @NotEmpty
    @ApiModelProperty(value = "角色名称",required = true)
    private String roleName;

    @NotNull
    @ApiModelProperty(value = "角色类型 1-系统管理员 2-其他管理员",required = true)
    private Integer type;

    @ApiModelProperty("备注")
    private String memo;

    @ApiModelProperty(value = "数据范围 1-全部 2-门店 3-部门 4-当前用户",example = "2")
    private Integer dataScope = 2;

}
